<template>
  <div>
       <input
      type="text"
      :value="title"
      @input="$emit('update:title', $event.target.value)">
       <input
      type="text"
      :value="name"
      @input="$emit('update:name', $event.target.value)">
      123
  </div>
</template>

<script>
export default {
    props:["title","name"],
    emit:["update:title","update:name"]
}
</script>

<style>

</style>